<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>点赞吧</title>
  <link rel="stylesheet" href="style.css">
  <style>
    .container {
      display: inline-block;
      vertical-align: top;
    }
  </style>

</head>

<body ontouchstart>
  <div class="container">
    <h2>CSS3</h2>
    <div id="praise_bubble" class="praise_bubble"></div>
  </div>
  <div class="container">
    <h2>Canvas</h2>
    <canvas id="canvas" width="200" height="400" style="width:100px;height:200px"></canvas>
  </div>
</body>

<script src="./index.js"></script>
<script src="./canvas.js"></script>
<script>
  const thumbsUpAni = new thumbsUpAni()
  setInterval(() => {
    thumbsUpAni.start()
  }, 300)
</script>

</html>